import { ADD } from "../redux/constands";
const State = {
  count: 999,
    msg: "hahaha",
  info:'大哥大哥你最好'
};

export default function (state = State, action) {
  switch (action.type) {
    case ADD:
      return {
        ...state,
        count: state.count + action.num,
      };
    default:
      return state;
  }
}
